from api.login import login

test_data=[
    {"username":"13488888888","password":"123456"},
    {"username": "","password":"123456"}

]
for i in test_data:
    phone =i["username"]
    res=login(phone)
    print(res)
    #断言
    if phone=="13488888888":
        assert "账号成功"== res
        # assert "账号失败" == res